:root {
  --normal-color: #abc966;
  --info-color: #e9a665;
  --danger-color: #ee7576;
}
.main {
  height: 100%;
  width: 100%;
  .status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    position: relative;
    .channel-title {
      .left {
        font-size: 10px;
        margin-right: 8px;
        cursor: pointer;
      }
      .title {
        font-size: 14px;
        font-weight: bolder;
        cursor: pointer;
      }
      .right {
        font-size: 10px;
        margin-left: 8px;
        cursor: pointer;
      }
    }
    .status-info {
      .normal {
        color: var(--normal-color);
        margin-right: 20px;
        .status-normal {
          width: 10px;
          height: 10px;
          display: inline-block;
          background-color: var(--normal-color);
          margin-right: 10px;
        }
      }

      .info {
        color: var(--info-color);
        margin-right: 20px;
        .status-info {
          width: 10px;
          height: 10px;
          display: inline-block;
          background-color: var(--info-color);
          margin-right: 10px;
        }
      }

      .danger {
        color: var(--danger-color);
        margin-right: 20px;
        .status-danger {
          width: 10px;
          height: 10px;
          display: inline-block;
          background-color: var(--danger-color);
          margin-right: 10px;
        }
      }
    }
  }
  .channel-select-board {
    outline: 0;
    padding: 20px;
    position: absolute;
    z-index:2;
    width: 98%;
    top: 50px;
    border: 1px solid #ededed;
    background: #fff;
    box-shadow: 2px 2px 2px #ededed;
    .select-board-title {
      h2 {
        font-size: 14px;
        font-weight: bolder;
      }
    }
    .common-channel {
      margin-top: 10px;
      h3 {
        font-size: 12px;
        color: #d3d3d3;
      }
    }
    .all-channel {
      margin-top: 10px;
      h3 {
        font-size: 12px;
        color: #d3d3d3;
      }
    }
    .channel-item {
      width: 80px;
      text-align: center;
      display: inline-block;
      cursor: pointer;
      margin: 10px 10px 10px 0;
      &:hover {
        background: #40bcf4;
        color: #fff;
        border-radius: 10px;
      }
    }
  }
  .var-status-container {
    height: 100%;
    min-height: 200px;
    overflow: auto;
  }
  .var-item {
    width: 150px;
    min-width: 150px;
    margin-bottom: 10px;
    display: inline-block;
    cursor: pointer;
    .var-item-title {
      font-weight: bolder;
    }

    .var-item-bar {
      padding: 5px 0;
    }

    .var-status {
      width: 30%;
      display: inline-block;
      height: 14px;
      border-radius: 10px;
      vertical-align: text-bottom;
      margin-right: 5px;
    }
  }

  .danger-normal {
    background-color: var(--normal-color);
  }
  .danger-item {
    background-color: var(--danger-color);
  }

  .danger-info {
    background-color: var(--info-color);
  }
}
@media screen and (max-width: 1366px) {
  .var-item {
    width: 50%;
  }
}

@media screen and (min-width: 1440px) and (max-width: 1920px) {
  .var-item {
    width: 25%;
  }
}
